﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XingFuStudio.Pioneer.Entity;

namespace XingFuStudio.Pioneer.Container.Interface.Event {
    /// <summary>
    /// 日志事件参数类
    /// </summary>
    public class LogEventArgs : EventArgs {
        /// <summary>
        /// 是否在新行开始写日志
        /// </summary>
        private bool isNewLine = false;
        /// <summary>
        /// 日志信息
        /// </summary>
        private string logMessage = String.Empty;
        /// <summary>
        /// 帐户
        /// </summary>
        private AccountInfo account = new AccountInfo();

        /// <summary>
        /// 获取或设置是否在新行开始写日志
        /// </summary>
        public bool IsNewLing {
            get {
                return this.isNewLine;
            }
            set {
                this.isNewLine = value;
            }
        }

        /// <summary>
        /// 获取或设置日志信息
        /// </summary>
        public string LogMessage {
            get {
                return this.logMessage;
            }
            set {
                this.logMessage = value;
            }
        }

        /// <summary>
        /// 获取或设置帐户
        /// </summary>
        public AccountInfo Acocunt {
            get {
                return this.account;
            }
            set {
                this.account = value;
            }
        }
    }
}
